package com.engine4cloud.tdf.common.core.constant.enums;

import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import lombok.Getter;

import java.io.Serializable;

/**
 * 审批事项业务类型(不包括调查评估、接收入矫)
 */

@Getter
public enum AuditBusinessTypeEnum implements Serializable {
    OUT_APPLICATION("OUT_APPLICATION", "外出"),
    CHANGE_PLACE("CHANGE_PLACE", "执行地变更"),
    USUAL_OUT("USUAL_OUT", "经常性跨市县活动"),
    EMERGENCY_REPORT("EMERGENCY_REPORT", "突发事件上报"),
    WARNING("WARNING", "警告"),
    PRISON_EXECUTE("PRISON_EXECUTE", "提请收监执行"),
    SECURITY_PUNISHMENT("SECURITY_PUNISHMENT", "提请治安处罚"),
    REDUCE_PENALTY("REDUCE_PENALTY", "提请减刑"),
    REVOKE_PAROLE("REVOKE_PAROLE", "提请撤销假释"),
    REVOKE_PROBATION("REVOKE_PROBATION", "提请撤销缓刑"),
    MIGRATE("MIGRATE", "迁居"),
    HELP("HELP", "帮扶"),
    ACCESS_SPECIFIC("ACCESS_SPECIFIC", "进入特定区域"),
    ;
    @Enumerated(EnumType.STRING)
    private final String type;
    private final String desc;

    AuditBusinessTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
